dnl $Id$
dnl config.m4 for extension scheme

PHP_ARG_ENABLE(scheme, whether to enable scheme support,
Make sure that the comment is aligned:
[  --enable-scheme           Enable scheme support])

if test "$PHP_SCHEME" != "no"; then
  PHP_NEW_EXTENSION(scheme, php_scheme.c \
                            tinyscheme/dynload.c \
                            tinyscheme/scheme.c,
	$ext_shared,,-I@ext_srcdir@/tinyscheme)
  PHP_ADD_BUILD_DIR($ext_builddir/tinyscheme)
  AC_DEFINE(HAVE_PHPSCHEME, 1, [Whether you have php-scheme])
fi
